.QuickReplies {
  position: absolute;
  left: 0;
  right: 0;
  z-index: @zindex-quick-replies;
  bottom: 100%;
  overflow: hidden;
  padding: @quick-replies-padding;
  background: @quick-replies-bg;
  transition: opacity 0.3s;

  &[data-visible='false'] {
    visibility: hidden;
    opacity: 0;
  }

  &:not(.ScrollView--hasControls) {
    padding-left: 0;
    padding-right: 0;

    .ScrollView-inner {
      padding: 0 var(--gutter);
    }
    .ScrollView-item:last-child {
      padding-right: var(--gutter);
    }
  }
}

.QuickReply {
  position: relative;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid var(--white);
  border-radius: 20px;
  line-height: 1.43;
  background: var(--white);
  cursor: pointer;
  color: var(--gray-1);
  font-size: @quick-reply-font-size;
  font-weight: @quick-reply-font-weight;
  transition: 0.15s ease-in-out;

  &.new::after {
    content: '';
    position: absolute;
    top: @quick-reply-dot-top;
    right: @quick-reply-dot-right;
    width: @quick-reply-dot-size;
    height: @quick-reply-dot-size;
    background: @quick-reply-dot-bg;
    overflow: hidden;
    border-radius: 50%;
  }
  &.highlight {
    border-color: @quick-reply-highlight-border-color;
  }
  &-inner {
    display: flex;
    align-items: center;
  }
  &-img {
    max-height: 16px;
  }
  &-inner > .Icon,
  &-img {
    margin-right: 3px;
  }
}

@media (hover: hover) {
  .QuickReply {
    &:hover {
      background: @quick-reply-hover-bg;
    }
    &:not(.highlight):hover {
      border-color: @quick-reply-hover-border-color;
      background-clip: padding-box;
    }
  }
}
